package com.cskaoyan.service;

import com.cskaoyan.bean.BasePageData;
import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.Topic;
import com.cskaoyan.bean.wx.vo.TopicAndGoodsVo;

/**
 * Description
 *
 * @author Zhangfei
 * @date Created on 2021/10/19
 */
public interface TopicService {

    BasePageData list(String title, String subtitle, BaseParam param);

    TopicAndGoodsVo read(Integer id);

    Topic update(Topic topic);

    Integer delete(Topic topic);

    Topic create(Topic topic);
    /*微信端*/
    BasePageData listInWechat(BaseParam param);
    BasePageData relatedInWechat(BaseParam param,Integer id);
}
